<template>
    <img 
      class="head-img"
      :src="$store.state.userList[ID].headImg"
       >
    </img>
</template>
<script>
export default {
  data() {
    return {};
  },
  props: {
    ID: {
      type: Number,
    },
  },
};
</script>
<style lang="scss">
@import "../assets/scss/message.scss";
.head-img {
  @include headimg;
}
</style>